package com.xxq.semester.service.classmgmt;

import com.xxq.semester.entity.classmgmt.ClassStudents;
import com.xxq.semester.entity.classmgmt.ClassTeachers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxq.semester.entity.classmgmt.Classes;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author saki
 * @since 2025-07-13
 */
public interface IClassTeachersService extends IService<ClassTeachers> {
    //创建班级
    Boolean createClass(String classname,String des,Integer teacherId);
    //删除班级
    Boolean deleteClass(Integer classId);
    //获取班级信息
    List<Classes> getAllClassesByTeachersId(Integer teacherId);
    //邀请学生加入班级
    Boolean inviteStudent(Integer classId,Integer studentId);
    //通过邀请码加入班级
    Integer inviteStudentByInviteCode(String classname);
    //获取班级学生信息
    List<ClassStudents> getClassStudentsByClassId(Integer classId);
}
